<%--
    Document   : alum_AulaVirtualContenidosInd
    Created on : 07/08/2008, 10:36:17 AM
    Author     : Cabrera Abanto, Alan
--%>

<%@ page import="java.util.Vector" %>
<%@ page import="agb.Modelo.ProyectosComunicados" %>
<%@page session="true" %>

<%@ page errorPage="../../error.jsp?from=horario_docente.jsp" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!--  pageEncoding="ISO8859-1"  -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <% 
           Vector<ProyectosComunicados> lpc = new ProyectosComunicados().listaComunicadosDenegado();
        %>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       
            <link href="/SistemaWebAGB_2.0/dinamica/css/admin_1.css" rel="stylesheet" type="text/css" />
            <link href="/SistemaWebAGB_2.0/dinamica/css/alumno.css" rel="stylesheet" type="text/css" />
	<link href="/SistemaWebAGB_2.0/dinamica/css/style.css" rel="stylesheet" type="text/css" />
       
        <title>Lista Alumnos</title>
<script language="JavaScript">
            function imprimir() {
                window.parent.frames[5].focus();
                window.print();
            }

        </script>

    </head>

    <body>
         <input type=button value="Imprimir" onClick="imprimir()" />
        <br/>


            <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td rowspan="2" align="center"><img src="/SistemaWebAGB_2.0/dinamica/img/logo.jpg" width="50" height="50"></td>
                <td align="center" valign="bottom"><font face="arial" size="5"><b>I.E. ALEXANDER GRAHAM BELL</b></font></td>
            </tr>
            <tr>
                <td align="center" valign="top"><font face="arial" size="4"><b>Lista Alumnos</b></font></td>
            </tr>
        </table>
<br>
                                <br>
                   <table width="85%" c align="center" id="box-table-a">


                                   <%if(request.getAttribute("mensaje")==null){}else{ %>
            <tr >
                <td valign="middle" colspan="5" class="cabecera" align="center"><%=request.getAttribute("mensaje") %></td>
            </tr>
            <%}%>
                           
                            <tr >
                              <th colspan="5" align="center" class="txtTitAzul">Comunicados Denegados&nbsp;</th>                             
                            </tr>
                            <%if(lpc.isEmpty()){%>
                             <tr >
                              <th colspan="5" align="center" class="txtTitAzul">No se encontraron Comunicados Pendientes de Ningun Tipo&nbsp;</th>
                            </tr>
                            <%}else{%>
                            <tr >
                                <th width="141" align="center" class="txtTitAzul">Remitente</th>
                                <th width="122" align="center" class="txtTitAzul">Asunto</th>
                                <th width="90"  align="center" class="txtTitAzul">Fecha</th>
                                <th width="180"   align="center" class="txtTitAzul">Nivel - Grado</th>
                                <th width="89"  align="center" class="txtTitAzul">Tipo</th>
                            </tr>
                           <%for(ProyectosComunicados p:lpc){%>
                              <tr >
                                  <td align="center" style="cursor:pointer"><a href="/SistemaWebAGB_2.0/SrvServletSecretaria?accion=detalleComunicado&codComunicado=<%=p.getCodComunicado()%>"><%=p.getPersona() %></a></td>
                                <td align="left" CLASS="txtBase"><%=p.getNombre() %></td>
                                <td align="center" valign="middle" CLASS="txtBase"><%=p.getFecha() %></td>
                                <td align="center" valign="middle" CLASS="txtBase"><%=p.getGrado() %></td>
                                <td align="center" valign="middle" CLASS="txtBase"><%=p.getTipo() %></td>
                         </tr>
                          <%}}%>
                        </table>
<br>

                                               <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="8%" height="2">&nbsp;</td>
                <td width="92%" ><a  style="padding:0px; font-size:11px"href="javascript:window.history.back()">Retornar</a><a href="javascript:window.history.back()"></a>&nbsp;</td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
        </table>
        
    </body>
</html>